package com.example.aigc_education.domain.request;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.example.aigc_education.enums.ThemeCompletionStatus;
import com.example.aigc_education.validation.EnumValid;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SetThemeStatusRequest {
    /**
     * 序号
     */
    @NotNull(message = "主题id不能为空")
    private Long themeId;

    /**
     * 是否完成（0未完成 1进行中 2已完成）
     */
    @EnumValid(enumClass = ThemeCompletionStatus.class, message = "输入主题完成状况不合法")
    private Integer completionStatus;

}
